package es.ats.codington.festival.interfaces.daos;


import java.util.ArrayList;
import java.util.Map;

import es.ats.codington.festival.domain.Event;


/**
 * The Interface iEventDAO.
 *
 * @author JAVA101_01
 */
public interface iEventDAO {
	

		/**
		 * View event.
		 *
		 * @param iDevent the i devent
		 * @return the event
		 * @throws Exception the exception
		 */
	
	public Event viewEvent(int iDevent) throws Exception;

			
	/**
	 * View my events.
	 *
	 * @param idvisitor the idvisitor
	 * @return the array list
	 * @throws Exception the exception
	 */
	public ArrayList<Integer> viewMyEvents(int idvisitor) throws Exception;
	
	/**
	 * Gets the ids event.
	 *
	 * @param idplace the idplace
	 * @return the ids event
	 * @throws Exception the exception
	 */
	public ArrayList<Integer> getIdsEvent(int idplace) throws Exception; 
	
	/**
	 * Creates the event.
	 *
	 * @param event1 the event1
	 * @return true, if successful
	 * @throws Exception the exception
	 */
	public boolean createEvent(Event event1)throws Exception;
}